<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('customer/index')}">客户列表</a></li>
			<li class="active"><a href="{:url('customer/add')}">添加客户</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('customer/add')}">
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>客户名称
				</label>
				<div class="col-md-3 col-sm-6">
					<input type="text" class="form-control" name="name">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>客户类型
				</label>
				<div class="col-md-6 col-sm-10">
					<label class="radio-inline">
	                    <input type="radio" name="type" value="1">个人
	                </label>
	                <label class="radio-inline">
	                    <input type="radio" name="type" value="2">企业
	                </label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>联系电话
				</label>
				<div class="col-md-3 col-sm-6">
					<input type="text" class="form-control" name="mobile">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>